package cn.wolfcode.p2p.bussness.service;

import cn.wolfcode.p2p.bussness.domain.PaymentScheduleDetail;
import cn.wolfcode.p2p.bussness.domain.SystemAccount;

public interface ISystemAccountService {
    int save(SystemAccount systemAccount);

    int update(SystemAccount systemAccount);

    SystemAccount get();

    /**
     * 初始化系统账户
     */
    void initSystemAccount();

    /**
     * 收取利息管理费
     * @param psd
     */
    void payInterest(PaymentScheduleDetail psd);
}
